/*
 * 创建日期 2009-12-7
 *
 * 成都天和软件公司
 * 电话：028-85425861
 * 传真：028-85425861-8008
 * 邮编：610041 
 * 版权所有
 */
package  org.fantasy.common.grid.report;

import  org.fantasy.common.grid.bean.ReportParam;

/**
 *  报表构造工厂
 * @author: 王文成
 * @version: 1.0
 * @since 2009-12-7
 */
public final class ReportBuilderFactory {
    
    private ReportBuilderFactory(){
        
    }
    
    public static ReportBuilder getReportExcelBuilder(ReportParam param) throws Exception {
        return new ReportExcelBuilder(param);
    }

    public static ReportBuilder getReportStatBuilder(ReportParam param) throws Exception{
        return new ReportStatBuilder(param);
    }

    public static ReportBuilder getReportListBuilder(ReportParam param) throws Exception{
        return new ReportListBuilder(param);
    }
    
    public static ReportBuilder getPOIExcelBuilder(ReportParam param) throws Exception{
        return new POIExcelBuilder(param);
    }
}
